home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / archie-1.4.1 / pauthent.h < prev    next >
C/C++ Source or Header  |  1995-06-18  |  885b  |  49 lines

  1. /*
  2.  * Copyright (c) 1989, 1990, 1991 by the University of Washington
  3.  *
  4.  * For copying and distribution information, please see the file
  5.  * <copyright.h>.
  6.  */
  7.  
  8. #include <copyright.h>
  9.  
  10. #define PFSA_UNAUTHENTICATED        1
  11.  
  12. struct pfs_auth_info {
  13.     char            auth_type[100];
  14.     char            authenticator[250];
  15. };
  16.  
  17. typedef struct pfs_auth_info *PAUTH;
  18. typedef struct pfs_auth_info PAUTH_ST;
  19.  
  20. PAUTH get_pauth();
  21.  
  22. #ifndef VMS
  23. # ifndef IN_H
  24. #  ifdef PCNFS
  25. #   include <tklib.h>
  26. #  endif
  27. #  include <netinet/in.h>
  28. #  define IN_H
  29. # endif
  30. #else
  31. # ifndef _ARCHIE_VMS
  32. #  include <vms.h>
  33. # endif
  34. #endif
  35.  
  36. struct client_info {
  37.     int                ainfo_type;
  38.     char            *auth_type;
  39.     char            *authenticator;
  40.     char            *userid;
  41.     short            port;
  42.     struct in_addr        haddr;
  43.     struct pfs_auth_info    *previous;
  44.     struct pfs_auth_info    *next;
  45. };
  46.  
  47. typedef struct client_info *CINFO;
  48. typedef struct client_info CINFO_ST;
  49.